how to get count of rows in a table in laravel query

66

$count = Model::where('status','=','1')->count();

Comments

Submit
0 Comments